package org.nuonuo.sdk.model.req;

import org.nuonuo.sdk.valid.Validator;

import javax.validation.constraints.NotNull;

/**
 * @Version 1.0
 * @Author az
 * @Date 2024-04-09 11:13:30
 * @ClassName InvoicePdfReq
 * @Description
 */
public class InvoicePdfReq extends Validator {

    /**
     * 发票代码，数电票时可以为空
     */
    private String invoiceCode;
    /**
     * 发票号码，数电票时传20位数电票号码
     */
    @NotNull(message = "发票号码必填")
    private String invoiceNo;
    /**
     * 含税金额
     */
    private String inTaxAmount;
    /**
     * 不含税金额
     */
    private String exTaxAmount;

    public String getInvoiceCode() {
        return invoiceCode;
    }

    public void setInvoiceCode(String invoiceCode) {
        this.invoiceCode = invoiceCode;
    }

    public String getInvoiceNo() {
        return invoiceNo;
    }

    public void setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    public String getInTaxAmount() {
        return inTaxAmount;
    }

    public void setInTaxAmount(String inTaxAmount) {
        this.inTaxAmount = inTaxAmount;
    }

    public String getExTaxAmount() {
        return exTaxAmount;
    }

    public void setExTaxAmount(String exTaxAmount) {
        this.exTaxAmount = exTaxAmount;
    }
}
